package github.kawaiior.yuanchuxiuzhen.common.entity.addon.render;

import github.kawaiior.yuanchuxiuzhen.Yuanchuxiuzhen;
import github.kawaiior.yuanchuxiuzhen.common.entity.addon.ArmyAntEntity;
import github.kawaiior.yuanchuxiuzhen.common.entity.addon.model.ArmyAntEntityModel;
import net.minecraft.client.renderer.entity.EntityRendererManager;
import net.minecraft.client.renderer.entity.MobRenderer;
import net.minecraft.util.ResourceLocation;

public class ArmyAntEntityRender extends MobRenderer<ArmyAntEntity, ArmyAntEntityModel> {

    public ArmyAntEntityRender(EntityRendererManager renderManagerIn) {
        super(renderManagerIn, new ArmyAntEntityModel(), 0.8F);
    }

    public ArmyAntEntityRender(EntityRendererManager renderManagerIn, ArmyAntEntityModel entityModelIn, float shadowSizeIn) {
        super(renderManagerIn, entityModelIn, shadowSizeIn);
    }

    private static final ResourceLocation RESOURCE_LOCATION_TEXTURE =
            Yuanchuxiuzhen.prefix("textures/entity/army_ant.png");
    @Override
    public ResourceLocation getEntityTexture(ArmyAntEntity entity) {
        return RESOURCE_LOCATION_TEXTURE;
    }
}
